cc = gcc
program = ncat
obj = ncat.o roman.o
head = roman.h



$(program) : $(obj)
	$(cc) -o $(program) $(obj) -fexec-charset=gbk
ncat.o : ncat.c
	$(cc) -o ncat.o -c ncat.c  -include $(head) -fexec-charset=gbk
roman.o : roman.c
	$(cc) -o roman.o -c roman.c  -include $(head) -fexec-charset=gbk

clean:
	rm ncat.exe *.o
